﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CSharp
{
    [AttributeUsage(AttributeTargets.Enum,Inherited = false)]
    class FlagsAttribute : Attribute { }
 
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method )]
    public class OnlineAttribute : Attribute
    {
        public int Version { get; set; }
        public OnlineAttribute(int mount)
        {

        }
    }
    //[Online]
    [Flags]
    public enum Grade : short
    {        
        Failed = 0,//00
        Passed = 1,//01
        Good = 2,//10
        Excelent = 4,//11
    }
    public enum Role//注意所有枚举值必须是2的整数次方
    {
        TeamLeader = 1,
        Expert = 2,
        Beauty = 4,
        Player = 8,
    }
}
